import request from '@/utils/request'
//  评价List
export function evaluationListApi(query) {
  return request({
    url: '/jsjx/evaluation/list',
    method: 'get',
    params: query
  })
};
//  评价ById
export function evaluationByIdApi(id) {
  return request({
    url: `/jsjx/evaluation/${id}`,
    method: 'get',
  })
};
//  评价Add
export function evaluationAddApi(data) {
  return request({
    url: '/jsjx/evaluation',
    method: 'post',
    data
  })
};
//  评价Edit
export function evaluationEditApi(data) {
  return request({
    url: '/jsjx/evaluation',
    method: 'put',
    data
  })
};
//  评价Del
export function evaluationDelApi(id) {
  return request({
    url: `/jsjx/evaluation/${id}`,
    method: 'delete',
  })
};